<html>
<head>
<script type="text/javascript" src="wwl.js"></script>
<script type="text/javascript">
WWL.ext = function ( instance_name )
{
	var base = new WWL ( "ext", instance_name );

	// base._event_names = [ 'click' ];

	return base;
}

WWL.ext.get_instance = function ( instance_name )
{
	return WWL.get_instance ( "ext", instance_name );
};

WWL.ext.send_event = function ()
{
};

WWL.ext._int_events = { "click" : function ( widget ) { alert ( "click " + widget.name ); }, 'over' : function () { console.debug ( "over" ); } };

function test ()
{
	var ext = new WWL.ext ( "prova" );

	ext.render ( 'my_test' );
}
</script>
</head>
<body onload="test()">
<div id="my_test"></div>

</body>
</html>
